package com.ruoyi.resource.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 模型资源对象 sys_business_resource_model
 *
 * @author ruoyi
 * @date 2023-12-22
 */
public class SysBusinessResourceModel extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 模型ID */
    private Long modelId;

    /** 模型名称 */
    @Excel(name = "模型名称")
    private String modelName;

    /** URL地址 */
    @Excel(name = "URL地址")
    private String modelUrl;

    /** 封面 */
//    @Excel(name = "封面")
    private String modelCover;

    /** 状态（0草稿 1已发 2已撤） */
    @Excel(name = "状态", readConverterExp = "0=草稿,1=已发布,2=已撤回")
    private String status;

    /** 是否置顶（0否 1是） */
    private String isTop;

    /** 是否置底（0否 1是） */
    private String isBottom;

    /** 显示顺序 */
    private Integer orderNum;

    public void setModelId(Long modelId)
    {
        this.modelId = modelId;
    }

    public Long getModelId()
    {
        return modelId;
    }
    public void setModelName(String modelName)
    {
        this.modelName = modelName;
    }

    public String getModelName()
    {
        return modelName;
    }
    public void setModelUrl(String modelUrl)
    {
        this.modelUrl = modelUrl;
    }

    public String getModelUrl()
    {
        return modelUrl;
    }
    public void setModelCover(String modelCover)
    {
        this.modelCover = modelCover;
    }

    public String getModelCover()
    {
        return modelCover;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }
    public void setIsTop(String isTop)
    {
        this.isTop = isTop;
    }

    public String getIsTop()
    {
        return isTop;
    }
    public void setIsBottom(String isBottom)
    {
        this.isBottom = isBottom;
    }

    public String getIsBottom()
    {
        return isBottom;
    }
    public void setOrderNum(Integer orderNum)
    {
        this.orderNum = orderNum;
    }

    public Integer getOrderNum()
    {
        return orderNum;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("modelId", getModelId())
            .append("modelName", getModelName())
            .append("modelUrl", getModelUrl())
            .append("modelCover", getModelCover())
            .append("status", getStatus())
            .append("isTop", getIsTop())
            .append("isBottom", getIsBottom())
            .append("orderNum", getOrderNum())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
